package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
@Setter
@Getter
public class Answer extends BaseDomain{
    //回答的用户
    private User user;
    //回答内容
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GM+8")
    private Date createTime;
    //对用的问题
    private Long questionId;

}